package cn.net.xyan

import org.mozilla.javascript.ScriptableObject

class ConsoleScriptableObject:ScriptableObject(){
    override fun getClassName(): String {
        return "Console"
    }

    fun jsConstructor(){

    }

    fun jsFunction_log(msg:String?){
        println(msg)
    }

}